#ifndef PLOTSPANEL_H
#define PLOTSPANEL_H

#include "custom_widgets/qcustomplot.h"

#include <QGroupBox>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QWidget>

class PlotsPanel : public QWidget
{
    Q_OBJECT
public:
    explicit PlotsPanel( QWidget* parent = nullptr );

signals:

private:
    QCustomPlot* m_VoltPlot;
    QCustomPlot* m_CurrPlot;
    QGroupBox*   m_GroupBox;

    void initView();
    void setupPlot( QCustomPlot* plot, QString xLabel, QString yLabel );
};

#endif  // PLOTSPANEL_H
